package com.ly.service;

import com.ly.dao.FoodTypeDao;
import com.ly.entity.FoodType;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class FoodTypeServiceImpl implements FoodTypeService{

    @Autowired
    private FoodTypeDao foodTypeDao;

    @Override
    public List<FoodType> queryAllFoodType() {
        return foodTypeDao.queryAllFoodType();
    }
}
